﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Library
{
    public class ThumbUtility
    {
        public static string thumb(string filePath,string width, string height, string AllowStretch)
        {
            StringBuilder ThumUrl=new StringBuilder();
            ThumUrl.AppendFormat("ThumbJpeg.ashx?vfilepath={0}&width={1}&height={2}&AllowStretch={3}",filePath,width,height,AllowStretch);
            return ThumUrl.ToString();

        }
    }
}
